/*-
 * BusinessException.java
 *
 * Date: 2017年2月23日
 * Time: 下午3:34:55
 *
 * 版权所有©2012-2013 rengh
 */

package com.lmx.repoDomain.exception;

/**
 * 业务异常情况处理
 * 
 * @author lmx
 * @version 1.00
 */
public class BusinessException extends RuntimeException {

    private final String id;
    private final String code;
    private final String title;

    public BusinessException(String id,String code, String title) {
      this.id = id;
      this.code = code;
      this.title = title;
    }

    public String getId() {
      return id;
    }

    public String getTitle() {
      return title;
    }
    
    public String getCode() {
        return code;
    }
    
  }